package org.origin.ferret.center.configs;

import com.mybatisflex.core.mybatis.FlexConfiguration;
import com.mybatisflex.spring.boot.ConfigurationCustomizer;
import org.apache.ibatis.logging.stdout.StdOutImpl;
import org.springframework.context.annotation.Configuration;

/**
 * 配置自定义 MyBatisFlex 配置
 *
 * @author ferret
 * @version 2024-05-08
 */
@Configuration
public class MyBatisFlexConfig implements ConfigurationCustomizer {

    @Override
    public void customize(FlexConfiguration configuration) {
        configuration.setLogImpl(StdOutImpl.class);
    }
}